package controller

import (
	"gitee.com/csingo/cResponse"
	"github.com/gin-gonic/gin"
	"satis-go/config/vars"
)

type CommonController struct{}

func (i *CommonController) ControllerName() (app, name string) {
	return "collector", "CommonController"
}

func (i *CommonController) ProjectName(ctx *gin.Context) (int, interface{}) {
	return cResponse.Api(ctx, vars.CollectorConfig.SatisName, nil)
}
